package io.renren.modules.oa.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.renren.modules.oa.entity.DeptUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 用户信息表
 * 
 * @author liufh
 * @email sunlightcs@gmail.com
 * @date 2021-05-20 14:45:22
 */
@Mapper
public interface DeptUserDao extends BaseMapper<DeptUserEntity> {

    IPage<DeptUserEntity> queryListByCondition(IPage<DeptUserEntity> page, @Param("map") Map map);

    DeptUserEntity queryById(Long userId);

}
